SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 62590: An Array Index Out Of Bounds Exception occurs when you load a hierarchy in SAS® Risk and Finance Workbench

DetailsHotfixAboutRate It

In SAS® Risk and Finance Workbench, when you load a hierarchy definition that references members of the same dimension that are NOT part of the hierarchy that is being loaded, an Array Index Out Of Bounds Exception can occur. When the Array Index Out Of Bounds Exception occurs, messages similar to the following appear in the log:

ERROR com.sas.stress.rest.controller.ControllerExceptionHandler - Generic exception handling for request < path > java.lang.ArrayIndexOutOfBoundsException: -1
     at java.util.ArrayList.elementData(ArrayList.java:400)
     at java.util.ArrayList.get(ArrayList.java:413)
     at com.sas.stress.rest.services.HierarchyService.loadDimensionMembers(HierarchyService.java:2625)
     at com.sas.stress.rest.services.HierarchyService.getDimension(HierarchyService.java:2365)
     at com.sas.stress.rest.services.HierarchyService.handleRegularHierLineItems(HierarchyService.java:1445)
     at com.sas.stress.rest.services.HierarchyService.handleHierarchyLineItemsAsInputStream(HierarchyService.java:1432)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

The process of loading the hierarchy definition does not allow formula references to members of the same dimension that are not part of the hierarchy being loaded. Also, when a formula is defined (through the hierarchy mapping user interface), you cannot successfully add or edit members of existing hierarchies in that dimension. 

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Risk and Finance WorkbenchLinux for x643.13.29.4 TS1M59.4 TS1M5
Microsoft® Windows® for x643.13.29.4 TS1M59.4 TS1M5
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.